Repository navigation
docs(adr): accept residual rustyscript transitive-CVE risk (#193) - #236
Conversation
The scripting feature embeds rustyscript 0.12.3, whose deno_core/deno_crypto stack transitively pins rsa 0.9.10 (CVE-2023-49092 Marvin attack), rand 0.8.5 (RUSTSEC-2026-0097), and unmaintained bincode/smartstring/unic-*. rustyscript is at its latest stable release and rsa has no fixed stable version (0.10.0 is pre-release only), so there is no dependency to bump to. Record this as an accepted residual risk in ADR 0005 with the rationale (scripting is core to the dual-mode product, ADR 0002), the mitigations (127.0.0.1-only HTTP API, narrow attacker model), and the revisit trigger (bump when rustyscript/rsa release fixed deps). Point the rustyscript Cargo.toml comment at the ADR. Hive-Run: tuna-os#193 Hive-Plan: ADR 0005 - document residual rustyscript CVE risk Hive-Spec: sec-check#193 Signed-off-by: Jorge O. Castro <jorge.castro@gmail.com>
e3c11e7
|
|
Sentinel reviewed (hanthor): benign. The change is docs only: a new ADR plus a pointer in an existing |
hanthor
left a comment
There was a problem hiding this comment.
Documents an accepted, tracked risk; LGTM.
Summary
Resolves #193 (sec-check: unresolved known CVEs in rustyscript transitive dependencies).
The
scriptingfeature embedsrustyscript0.12.3, whosedeno_core/deno_crypto/swc_ecma_*stack transitively pinsrsa0.9.10 (CVE-2023-49092 Marvin attack),rand0.8.5 (RUSTSEC-2026-0097), and unmaintainedbincode/smartstring/unic-*.This is not bumptable:
rustyscriptis at its latest stable release (0.12.3) andrsahas no fixed stable version (0.10.0 is pre-release only), so there is no dependency move that clears the CVEs. Disabling thescriptingfeature by default was considered but rejected — it is core to dualcut's dual-mode product (ADR 0002).Change
docs/adr/0005-rustyscript-residual-cve-risk.mdrecording the accepted residual risk, rationale, mitigations (127.0.0.1-only HTTP API; narrow attacker model), and the revisit trigger (bump when rustyscript/rsa release fixed dependencies).rustyscriptdependency comment inengine/Cargo.tomlat the ADR.Docs-only change; no build, schema, or test impact.
Closes #193
— hive: backend=omp model=lab-worker/ornith